Set the constant buffers used by the shader pipeline stage.
シンタックス
'宣言
Public Overloads Sub SetConstantBuffers( _
ByVal As System.Integer, _
ByVal As System.Integer, _
ByVal As ComArray(Of Buffer) _
)
public void SetConstantBuffers(
System.int ,
System.int ,
ComArray<Buffer>
)
パラメータ
- startSlot
- Index into the device's zero-based array to begin setting constant buffers to (ranges from 0 to D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - 1).
- numBuffers
- Number of buffers to set (ranges from 0 to D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - StartSlot).
- constantBuffers
- Array of constant buffers (see Buffer) being given to the device.
参照